package com.szrt.day20161025.crm.student.entity;


/**
 * CREATE TABLE `crm_student_t` (
  `ID` int(11) NOT NULL DEFAULT '0',
  `STUDENT_NAME` varchar(128) DEFAULT NULL COMMENT '姓名',
  `AGE` int(11) NOT NULL DEFAULT '0' COMMENT '年龄',
  `SEX` varchar(64) DEFAULT NULL COMMENT '性别',
  PRIMARY KEY (`ID`,`AGE`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;


 * @author Administrator
 *
 */

//对应1张表   crm_student_t
//@Entity
//@Table(name="crm_student_t")
public class StudentEntity {
	
	
	private Integer id;
	private String  studentName;
	private Integer age;
	private String  sex;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getStudentName() {
		return studentName;
	}
	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	
	
	public StudentEntity(Integer id, String studentName, Integer age, String sex) {
		this.id = id;
		this.studentName = studentName;
		this.age = age;
		this.sex = sex;
	}
	
	public StudentEntity(){
		
	}
	
	
	
	

}
